﻿@{
    ViewBag.Title = "About iDMS";
}
@using MvcHtmlHelpers;
<h3 style="text-transform: none">
    iDMS - <span class="accent">Info...</span>
</h3>
<div style="margin-top:25px;margin-bottom:20px">
    iDMS is an application that was created as part of Master thesis at the Faculty
    of Electrical Engineering, Poznan University of Technology.
</div>
<fieldset>
    <legend>Details</legend>
    <div class="display-label">
        Version:</div>
    <div class="display-field">
        @ViewBag.Version
    </div>
    <div class="display-label">
        Build Date:</div>
    <div class="display-field">
        @ViewBag.BuildDate
    </div>
    <div class="display-label">
        Server OS:</div>
    <div class="display-field">
        @ViewBag.OSVersion
        @ViewBag.Processor
    </div>
</fieldset>
<h4>
    Third party software, components and artworks:
</h4>
iDMS are using a set of free software components, see below the list of software
packages:
<div id="list">
    <table>
        <tr>
            <th>
                Software
            </th>
            <th>
                Version
            </th>
            <th>
                Website
            </th>
        </tr>
        @foreach (var item in (List<iDMS.Models.SoftwarePackage>)ViewBag.Packages)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Name)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Version)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Url)
                    @Html.ExternalActionLink(item.Url)
                </td>
            </tr>
        }
    </table>
